<?php
declare(strict_types=1);
namespace App\Api\Controller;

use Aincrid\MySwoole\Request;
use Aincrid\MySwoole\Response;
use Aincrid\MySwoole\Response\JsonResponse;
use App\Controller;

class UserController extends Controller
{
    public function userInfo(Request $request, Response $response): Response
    {
        echo $arr;
        return $response->json([
            'id'       => 1,
            'phone'    => '13200000001',
            'nickname' => 'wmingren'
        ]);
    }
}